package com.yehui.alibaba.service.at;

import io.seata.rm.tcc.api.BusinessActionContext;

/**
 * @author 业徽
 * @date 2021/8/4
 */
public interface OrderService {

    /**
     * 入库
     *
     * @param userId
     * @param productId
     * @param amount
     * @return
     */
    Integer add(BusinessActionContext actionContext, Long userId, Long productId, Integer amount);

}
